<!DOCTYPE html>
<html>
<head>
    <#include "../common.ftl">
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
    <input name="id" type="hidden" value="${(customerOrder.id)!}"/>

    <#-- 客户ID（后台设置到作用域中） -->
    <#--name="cusId"与model中cusId对应    -->
    <input name="cusId" type="hidden" value="${cId!}"/>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">订单编号</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userName" lay-verify="required" name="orderNo"
                   id="orderNo" value="${(customerOrder.orderNo)!}" placeholder="请输入订单编号">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">收货地址</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input userName" lay-verify="required" name="address"
                   id="address" value="${(customerOrder.address)!}" placeholder="请输入收货地址">
        </div>
    </div>
<#--    <div class="layui-form-item layui-row layui-col-xs12">-->
<#--        <label class="layui-form-label">下单时间</label>-->
<#--        <div class="layui-input-block">-->
<#--            <input type="text" class="layui-input userName" lay-verify="required" name="orderDate"-->
<#--                   id="orderDate" value="${(customerOrder.orderDate)!}" placeholder="下单时间" disabled="disabled">-->
<#--        </div>-->
<#--    </div>-->

    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit="" lay-filter="addOrUpdateCustomerOrder">确认</button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
        </div>
    </div>
</form>

<script type="text/javascript" src="${ctx}/js/customer/order.add.update.js"></script>
</body>
</html>